package com.liang.pojo;

import java.io.Serializable;

public class Role implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String role;
	private String description;
	private int parentId;
	public Role() {
		super();
	}
	public Role(int id, String role, String description, int parentId, int locked) {
		super();
		this.id = id;
		this.role = role;
		this.description = description;
		this.parentId = parentId;
		this.locked = locked;
	}
	@Override
	public String toString() {
		return "Role [id=" + id + ", role=" + role + ", description=" + description + ", parentId=" + parentId
				+ ", locked=" + locked + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public int getLocked() {
		return locked;
	}
	public void setLocked(int locked) {
		this.locked = locked;
	}
	private int locked;
}
